package study07;

public class Phone {
    String brand;
    String color;
    double size;
    public Phone(String brand, String color,double size){
        this.brand = brand;
        this.color = color;
        this.size = size;
    }
    public String getBrand(){
        return brand;
    }
    public String getColor(){
        return color;
    }
    public double getSize(){
        return size;
    }

    public static void main(String[] args) {
        Phone ph = new Phone("iphone", "red", 7.93);
        System.out.println("Brand: " + ph.getBrand());
        System.out.println("color: " + ph.getColor());
        System.out.println("size: " + ph.getSize());
    }
}
